﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JavaScript脚本语言</title>

</head>

<body>
<!-- <script type="text/javascript">

    var Name;
	var iAge;
    Name=prompt("请输入你的姓名！",0);
	iAge=prompt("请输入你的年龄！",0);
	
	if(iAge<18)
	    alert("您好"+Name+"，您还未成年！");
    else
	    alert("您好"+Name+"，非常欢迎你的到来！"); -->

</script>
</body>
</html>
